<%@ Page EnableViewState="false" Language="C#" AutoEventWireup="true" Inherits="CommunityServer.Controls.CSThemePage" MasterPageFile="../Common/modal.Master" %>

<asp:Content ContentPlaceHolderID="bcr" runat="server">

<CSControl:Title runat="server" IncludeSiteName="false" ResourceName="Ratings" />

<div class="CommonContentArea">
	<div class="CommonContent">
        <CSControl:RatingList runat="server">
        <QueryOverrides PageSize="9999" />
            <HeaderTemplate>
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td class="CommonListHeader">
                            <CSControl:ResourceControl runat="server" ResourceName="ThreadRatingSummary_RatedBy" />
                        </td>
                        <td class="CommonListHeader">
                            <CSControl:ResourceControl runat="server" ResourceName="ThreadRatingSummary_Rating" />
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                    <tr>
                        <td class="CommonListCell">
                            <CSControl:UserData runat="server" Property="DisplayName" LinkTo="Profile" LinkTarget="_blank" />
                        </td>
                        <td class="CommonListCell">
                            <CSControl:RatingControl runat="server" RatingCssClass="ForumThreadRateControl" RatingReadOnlyCssClass="ForumThreadRateControlReadOnly" RatingActiveCssClass="ForumThreadRateControlActive" ImagesBaseUrl="~/Themes/hawaii/images/common/" />
                        </td>
                    </tr>
            </ItemTemplate>
            <FooterTemplate>
            	</table>
            	<div class="CommonFormArea">
	            	<div class="CommonFormFieldName">
	                    <CSControl:ResourceButton runat="server" ResourceName="Close_Window" OnClientClick="self.close(); return false;" />
	                </div>		
	           	</div>
            </FooterTemplate>
        </CSControl:RatingList>
    </div>
</div>
</asp:Content>